from django.conf.urls import url
from django.contrib import admin
from rest_framework_jwt.views import obtain_jwt_token
from .views import statistical
from .views import users
from .views import goodsmange
urlpatterns = [
    url(r'^authorizations/',obtain_jwt_token),
    #用户总量统计
url(r'^statistical/total_count/$',statistical.UserCountView.as_view()),
    #日增用户
url(r'^statistical/day_increment/$',statistical.UserdaycountView.as_view()),
    ##日活用户
    url(r'^statistical/day_active/$',statistical.UseractivateView.as_view()),
    url(r'^statistical/day_orders/$',statistical.UseRorderView.as_view()),
    #月赠用户
url(r'^statistical/month_increment/$', statistical.UseMonthcountView.as_view()),
    ##当天分类访问数量
url(r'^statistical/goods_day_views/$', statistical.UserGoodsView.as_view()),

    #___________用户管理路由
url(r'^users/$', users.UserView.as_view()),
    # url(r'^skus/categories/$',goodsmange.GoodsMangeView.as_view())
    url(r'^skus/$',goodsmange.GoodsMangeView.as_view())
]
